import request from '@/utils/request'

export function contactList(data) {
    return request({
        url: '/v1/contact/find',
        method: 'post',
        data
    })
}

export function contactInfo(data) {
    return request({
        url: '/v1/contact/get/by/id',
        method: 'post',
        data
    })
}

export function contactUpdate(data) {
    return request({
        url: '/v1/update/contact',
        method: 'post',
        data
    })
}

export function contactCreate(data) {
    return request({
        url: '/v1/add/contact',
        method: 'post',
        data
    })
}
